package 代理模式.动态代理.jdk;

public class DynamicProxyTest {

    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        UserService proxy = (UserService) new UserServiceProxy().getProxy(userService);
        proxy.addUser();
    }
}
